package com.yswee.framework.net.rbd;

import java.net.HttpURLConnection;

import com.yswee.framework.net.ICallback;

public abstract class RBDCallback implements ICallback<RBDEntity> {

	@Override
	public abstract void onFinish(RBDEntity entity);

	@Override
	public abstract void onError(RBDEntity entity);

	@Override
	public void onCancel(RBDEntity entity) { }

	@Override
	public void onInvalid(RBDEntity entity) { }

	@Override
	public void onBeginResponse(HttpURLConnection connection) { }

	@Override
	public void onEndResponse(RBDEntity entity) { }

	@Override
	public void onBeginRequest(RBDEntity entity) { }

	@Override
	public void onBeginConnection(HttpURLConnection connection) { }

	public void onDownloadProgress(RBDEntity entity) { }
	
}
